<template>
   <!-- 中药处方预览页 -->
    <transition name="tipMove">
      <div class="medicList" >
        <p style="height:2.5rem;line-height:2.5rem;text-align:center;background:#26a2ff;color:#fff;font-size:0.9rem">中药处方预览页</p>
        <div class="medic_o">
          <section class="c_patient_info">
            <div style="font-size:0.8rem">
              <div>
                <span>医疗证/医保卡号：<b>{{ybNum}}</b></span>
                <span><b>【{{'自费'}}】</b></span>
              </div>
              <div>
                <span>患者信息：<b>{{name}}</b><b>{{info}}</b></span>
                <span><b>{{'脑细胞内科'}}</b></span>
              </div>
              <div>
                <span>病历号：<b>{{blNum}}</b></span>
                <span><b>{{'2019-01-01'}}</b></span>
              </div>
            </div>
          </section>
          <p style="margin-top:2rem;">药品列表</p>
          <ul class="checklist">
            <li v-for="(item,index) in dragList1" :key="item.id">{{index+1}} . {{item.DURGNAME}}&nbsp;{{item.DURGFS}}{{item.DURGBZDW}}</li>
          </ul>
          <p class="cckb" v-if="dragList1.length==0"><i>（此处空白）</i></p>
          <p class="medic_p" style="border-top: 1px solid #f1f1f1;">
            <span>总共{{numb_zy}}剂&nbsp;（每剂 {{ dragList1.length }} 味药）</span>
            <span>附加服务：<b>{{numb_zy}}</b>&nbsp;包括,{{fujia_list.toString()}}</span>
          </p>

        </div>

        <div class="medic_c">
          <div>
            <span>
              医师：<b>{{'XXXXXXX'}}</b>
            </span>
            <span>
              处方总金额（元）：<b>{{sum2}}</b>
            </span>
          </div>

        </div>

    </transition>

</template>
<script>


export default {
  data() {
    return {
      dragList1: [],
      dragList2: [],

      sum1: 0,
      sum2: 0,
    };
  },
  components: {

  },
  computed: {

  },
  created() {

  },
  mounted(){
this.getlist();
  },

  methods: {
    getlist(){

    },

  },
};
</script>

<style>
.checklist{
  border-top: 1px solid #f1f1f1;
  margin-bottom: 3rem
}
.money1{
  display: flex;
  justify-content: space-between;
  padding: 0 0.2rem;
  margin-top: 1rem;
  color: #26a2ff
}
.mint-cell-wrapper{
  font-size: 0.8rem;
}
.mint-checklist .mint-cell{
  display: inline-block
}
.numb_zy{
  font-size: 0.9rem
}
* {
  margin: 0;
  padding: 0;
}
.opFix1{
  display:fixed;
}
.cfmb{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: .5rem;
}
.cfmb span{
  color: #999;
  font-size: .8rem;
}
.mint-navbar .mint-tab-item:first-child{
  width: 5%;
}
.mint-popup-right {
  /* top: 8%; */
  width: 100%;
  height: 100%;
  right: 0;
  bottom: auto;
  left: auto;
  -webkit-transform: translate3d(5, -50%, 0);
  transform: translate3d(5, -50%, 0);
  text-align: left;/*
  -webkit-box-shadow: 0px 2px 10px #c8c8c8;
  -moz-box-shadow: 0px 2px 10px #c8c8c8;
  box-shadow: -1px 0px 10px #ccc; */
  opacity: 1;
}
.mint-popup-right p{
  color: #666;
  font-size: .8rem;
  text-align: center;

}
.mint-cell-wrapper {    /* 隐藏服务项目下边线 */
  background-image: none;
}
.mint-cell:last-child{  /* 隐藏医嘱下边线 */
  background-image: none;
}
.input_search1_1 {
  display: inline-block;
  line-height: 1;
  cursor: pointer;
  background: #ccc;
  border: 1px solid #dcdfe6;
  color: #fff;
  text-align: center;
  box-sizing: border-box;
  outline: none;
  font-weight: 500;
  padding: 0.6rem 2rem;
  border-radius: 4px;
  width: 75%;
  margin-top: 0.1rem;
  margin-right: 5%;
}
.input_search2_1 {
  display: inline-block;
  line-height: 1;
  cursor: pointer;
  background: #3190e8;
  border: 1px solid #dcdfe6;
  color: #fff;
  text-align: center;
  box-sizing: border-box;
  outline: none;
  font-weight: 500;
  padding: 0.6rem 2rem;
  border-radius: 4px;
  width: 75%;
  margin-top: 0.1rem;
  margin-right: 5%;
}
.input_search1 {
  display: inline-block;
  line-height: 1;
  cursor: pointer;
  background: #ccc;
  border: 1px solid #dcdfe6;
  color: #fff;
  text-align: center;
  box-sizing: border-box;
  outline: none;
  font-weight: 500;
  padding: 0.6rem 2rem;
  border-radius: 4px;
  width: 40%;
  margin-top: 0.1rem;
  margin-right: 5%;
}
.input_search2 {
  display: inline-block;
  line-height: 1;
  cursor: pointer;
  background: #3190e8;
  border: 1px solid #dcdfe6;
  color: #fff;
  text-align: center;
  box-sizing: border-box;
  outline: none;
  font-weight: 500;
  padding: 0.6rem 2rem;
  border-radius: 4px;
  width: 40%;
  margin-top: 0.1rem;
  margin-right: 5%;
}
.select_c {
  width: 65%;
  padding: 2%;
  font-size: 0.8rem;
  outline: none;
  border-radius: 0.2rem;
  /* appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none; */
}
.select_c option {
  line-height: 20px;
  border: 0;
  padding: 1rem;
}
.select_c option:hover {
  background: #ebccd1;
}
.step2 {
  margin-top: 25%;
  border-radius: 0.2rem;
  height: 70%;
  width: 90%;
  /* margin-bottom: 76%; */
}
.zhongyao{
  border-top: .5px dashed #ccc;
  margin-top: .5rem;
}
label{
  margin-bottom: 0;
}
.c_patient_info {
  display: flex;
  justify-content: center;
  font-size: .5rem;
  letter-spacing: .05rem;
  background-color: #fff;
  padding: 0 .5rem;
  height: 3rem;
  color: #333;
  margin-top: 0.6rem;
}
.c_patient_info b {
  font-weight: normal;
  color: #888;
}
.c_patient_info div {
  width: 100%;
}

.c_bh {
  color: #666;
  padding: .3rem;
}
.c_bh div span:first-child{
  z-index: 888;
  line-height: 1rem;
  vertical-align: middle;
}
.medicList{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; /* 带好盖住后面的内容 */
  z-index: 888;
  overflow: auto;
  background: #fff;
  /* padding:.5rem; */
  font-size: .8rem;
  color: #333;
}
.medicList ul li{
  line-height: 2rem;
  padding-left: 1rem;
  display: inline-flex;
}
.cckb{
  text-align: center;
  color: #ccc;
}
.medic_o{
  height: 80%;
  overflow: auto;
  padding: .5rem;
}
.medic_o p:first-child {
  text-align: center;
}
.medic_t{
  position: fixed;
  bottom: 0;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  padding: .5rem;
}
.medic_t span{
  display: flex;
  justify-content: center;
  flex-direction: row;
  justify-content: center;
  width: 100%;
}
.medic_c{
  height: 10%;
  border-top: 1px dashed #ccc;
  /* border-bottom: 1px solid #fff; */
  padding: .5rem;
}

.medic_c div span{
  color: #999;
}
.medic_c div span b{
  color: #333;
}
.medic_p{
  position: relative;
  bottom: 0;
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 3rem;
}
.medic_p span{
  display: flex;
  line-height: 1.5rem;

}
.s_input{
  width: 90%;
  height: 12rem;
  background: #f1f1f1;
  position: absolute;
  top: -400%;
  margin: 0 5%;
}
.s_input .s_text{
  border: none;
  width: 80%;
  font-family: "Microsoft Yahei";
  color: #333;
  outline: none;
  text-indent: 1rem;
  line-height: 2rem;
  margin-top: 10%;
  cursor: pointer;
}
.c_nav_hospitalname {
  letter-spacing: .05rem;
  display: flex;
  justify-content: center;
  background-color: #fff;
  padding: 0rem;
  height: 3rem;
  color:#333;
}
.c_nav_hospitalname div:first-child {
  width: 100%;
}

.c_nav_hospitalname div div:last-child {
  font-size: .8rem;
  display: flex;
  justify-content: space-around;
}
.c_nav_hospitalname div div:last-child span{
  padding: 0 .3rem 0 .3rem;
}
.c_nav_hospitalname div div:last-child span:first-child{
  color: #fff;
}
.c_nav_hospitalname div div:last-child span:nth-child(2) span{
  color: #666;
}
.c_nav_hospitalname div div:last-child span:last-child{
  display: inline-flex;
  margin-right: 0rem;
}
.c_nav_hospitalname div div:last-child span:last-child span:first-child{
  padding: 0rem;
}
.c_nav_hospitalname div div:last-child span:last-child span:last-child{
  background-color: #26a2ff;
  color: #fff;
  padding: 0 12px;
  height: 33px;
  line-height: 33px;
  vertical-align: middle;
  border-radius: 4px;
  /* font-size: .8rem; */
  margin-right: .3rem;
}
.c_nav {
  display: flex;
  justify-content: space-around;
  background-color: #fff;
  padding: 1rem;
  border-bottom: 1px solid #ebebeb;
  position: relative;
  height: 3rem;
}
.c_nav_active {
  color: #3190e8;
  border-bottom: 2px solid #3190e8;
}
@keyframes tipMove {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(0.8);
  }
  70% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
.fade-choose-enter-active,
.fade-choose-leave-active {
  transition: opacity 0.2s;
}
.fade-choose-leave,
.fade-choose-leave-active {
  display: none;
}
.fade-choose-enter,
.fade-choose-leave-active {
  opacity: 0;
}
.zhongyao_c_title p {
  font-family: "Microsoft Yahei";
  color: #666;
  margin-bottom: 0;
  padding: 0.4rem;
  font-size: .5rem;
}
.zhongyao_c_content {
  max-height: 22rem;
  overflow: auto;
  padding: 0.5rem;
  position: relative;
  font-size: 0.9rem;
  color: #333;
}
.zhongyao_c_content .m-slide .m-slide__del-red{
  background: #3190e8;
  border-radius: 0.2rem;
  width: 4rem;
  height: 1.4rem;
  border: none;
  margin-top: 0.1rem;
}
.zhongyao_c_content .m-slide .m-slide__top{
  height: 1.8rem;
}
.zhongyao_c_content ul li {
  list-style: none;
  font-size: 0.8rem;
  height: 2.5rem;
  width: 100%;
  overflow: hidden;
}
.zhongyao_y {
  font-family: "Microsoft Yahei";
  color: #333;
  float: left;
  width: 65%;
  overflow: auto;
}
.zhongyao_c {
  float: right;
  width: 35%;
  overflow: hidden;
  text-align: right;
}
.demo-item{
  width: 60%;
  overflow: hidden;
  text-overflow:ellipsis;
  white-space: nowrap
}
.zhongyao_c i {
  padding: 0.2rem;
  font-size: 0.8rem;
}
.input_number {
  border: none;
  width: 20%;
  text-align: center;
  font-family: "Microsoft Yahei";
  color: #333;
  background: #f1f1f1;
  border-radius: 0.4rem;
}
.input_n {
  border: none;
  border-bottom: 2px solid #f1f1f1;
  width: 16%;
  font-family: "Microsoft Yahei";
  color: #333;
  outline: none;
  height: 2rem;
  margin: 0 0.1rem;
  text-align: center;
  float: right;
}
.buttonRemove {
  padding: 0 0.2rem;
  border: none;
  float: right;
  background: #3190e8;
  color: #fff;
  border-radius: 0.2rem;
  margin-right: 0.2rem;
}
.zhongyao_c_footer {
  position: fixed;
  bottom: 0;
  text-align: left;
  width: 100%;
  background: #fff;
  z-index: 188;
}
.zhongyao_c_footer p{
  margin-bottom: 0;
}
.input_name {
  text-indent: .5rem;
  border: none;
  width: 80%;
  text-align: left;
  font-family: "Microsoft Yahei";
  color: #333;
  outline: none;
  padding:0.5rem 0;
  margin-bottom: 0.2rem;
  font-size: .8rem;
  /* border-bottom: 2px solid #f1f1f1; */
}
.input_tip {
  width: 100%;
  font-family: "Microsoft Yahei";
  color: #333;
  text-indent: 0.5rem;
  line-height: 2rem;
  border:none;
  outline: none;
}
.input_tip:focus{
  background: #3190e84d;
}
.input_search_openpre {
  display: inline-block;
  line-height: 1;
  cursor: pointer;
  background: #3190e8;
  border: 1px solid #dcdfe6;
  color: #fff;
  text-align: center;
  box-sizing: border-box;
  outline: none;
  font-weight: 500;
  padding: 0.6rem 2rem;
  border-radius: 4px;
  width: 20%;
  margin-top: 0.1rem;
}
.input_search {
  display: inline-block;
  line-height: 1;
  cursor: pointer;
  background: #3190e8;
  border: 1px solid #dcdfe6;
  color: #fff;
  text-align: center;
  box-sizing: border-box;
  outline: none;
  font-weight: 500;
  padding: 0.6rem 2rem;
  border-radius: 4px;
  width: 100%;
  margin-top: 0.1rem;
}
.searchList {
  width: 100%;
  background: #fff;
  display: inline-block;
  overflow: auto;
  z-index: 100;
  height: 20rem;
  border-bottom: 1px solid #f1f1f1;
  text-indent: .5rem;
  padding-left: .3rem;
  padding-right: .3rem;
  border-radius: 10px;
  color: #000;
  -webkit-box-shadow: 0px -3px 10px #ccc;
  -moz-box-shadow: 0px -3px 10px #ccc;
  box-shadow: 0px -3px 10px #ccc;
  /*
  -webkit-transform: translate3d(5, -50%, 0);
  transform: translateY(0%); */
}
.searchList ul {
  margin-bottom: 0;
}
.searchList ul li {
  font-size: 0.8rem;
  height: 2rem;
  border-bottom: 1px solid #ccc;
  line-height: 2rem;
  text-align: left;
  width: 100%;
  overflow: hidden;
}
</style>
